package com.peanut.wapp.controller.req;

import javax.validation.constraints.Pattern;

import org.hibernate.validator.constraints.NotEmpty;

public class SubmitInfoParam {
	@NotEmpty(message = "手机号不能为空！")
	@Pattern(regexp = "^(1)\\d{10}$", message = "手机号格式不正确！")
	private String phoneNum; // 手机号码
	
	@NotEmpty(message = "姓名不能为空！")
	private String userName; // 姓名
	
	private String host;

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}
	
	
}
